package org.spring.springboot.app.adv.advcommunityaround.service;

import org.spring.springboot.app.adv.advcommunityaround.domain.po.AdvCommunityAroundPO;
import org.spring.springboot.app.adv.advcommunityaround.domain.vo.AdvCommunityAroundSaveInVO;
import org.spring.springboot.app.adv.advcommunityaround.domain.vo.AdvCommunityAroundSearchVO;
import org.spring.springboot.app.adv.advcommunityaround.domain.vo.AdvCommunityAroundSystemSaveInVO;
import org.spring.springboot.app.adv.advcommunityaround.domain.vo.AdvCommunityAroundUpdateInVO;
import org.spring.springboot.app.base.R;
import org.spring.springboot.app.base.User;

import java.util.List;

public interface IAdvCommunityAroundService {

    AdvCommunityAroundPO find(String id);

    R delete(String id);

    List<AdvCommunityAroundPO> findPage(AdvCommunityAroundSearchVO searchVO, int pageNum, int pageSize);

    R saveInfo(AdvCommunityAroundSaveInVO vo, User user);

    R updateInfo(AdvCommunityAroundUpdateInVO vo);

    R pay(String id, User user);

    R saveSystemInfo(AdvCommunityAroundSystemSaveInVO vo, User user);
}
